<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>13案例简单小米侧边栏</title>
    <style>
        a {
            display: block;
            width: 150px;
            height: 40px;
            background-color: #55585a;
            color: #fff;
            /* font-size: 14px; */
            /* line-height: 40px; */
            /* padding-left: 20px; */
            font: 14px/40px 'Microsoft YaHei';
            text-decoration: none;
            text-indent: 2em;
        }
        
        a:hover {
            background-color: #ff6700;
        }
    </style>
</head>

<body>
    <a href="#">分类1</a>
    <a href="#">分类2</a>
    <a href="#">分类3</a>
    <a href="#">分类4</a>
    <a href="#">分类5</a>
    <a href="#">分类6</a>
</body>

</html>